//
//  ZpUserAccount.m
//  WeiBo_OC
//
//  Created by MacBook Pro on 16/5/28.
//  Copyright © 2016年 MacBook Pro. All rights reserved.
//

#import "ZpUserAccount.h"

@interface ZpUserAccount ()
@end
@implementation ZpUserAccount


+ (instancetype) shareUserAccount
{
    static ZpUserAccount *account;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        account = [[ZpUserAccount alloc] init];
    });
    return account;
}

- (void)setValueForDict:(NSDictionary *)dict{
    [self setValuesForKeysWithDictionary:dict];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{

}

- (void)setExpires_in:(NSTimeInterval)expires_in{
    _expires_in = expires_in;
    self.expires_date = [NSDate dateWithTimeIntervalSinceNow:expires_in];
}
@end
